textview: document text mark properties
authorPaolo Borelli <pborelli@gnome.org>
Mon, 28 Jul 2014 10:20:48 +0000 (12:20 +0200)
committerPaolo Borelli <pborelli@gnome.org>
Mon, 28 Jul 2014 10:21:17 +0000 (12:21 +0200)
gtk/gtktextmark.c

index d79e5322b6505bac80bb61debbb9603d24782cc9..dc8f78c44fec5f99a5a90b4aaba2dae9ea672543 100644 (file)
@@ -125,6 +125,11 @@ gtk_text_mark_class_init (GtkTextMarkClass *klass)
   object_class->set_property = gtk_text_mark_set_property;
   object_class->get_property = gtk_text_mark_get_property;
 
+  /**
+   * GtkTextMark:name:
+   *
+   * The name of the mark or %NULL if the mark is anonymous.
+   */
   g_object_class_install_property (object_class,
                                    PROP_NAME,
                                    g_param_spec_string ("name",
@@ -133,6 +138,13 @@ gtk_text_mark_class_init (GtkTextMarkClass *klass)
                                                         NULL,
                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
+  /**
+   * GtkTextMark:left-gravity:
+   *
+   * Whether the mark has left gravity. When text is inserted at the mark’s
+   * current location, if the mark has left gravity it will be moved
+   * to the left of the newly-inserted text, otherwise to the right.
+   */
   g_object_class_install_property (object_class,
                                    PROP_LEFT_GRAVITY,
                                    g_param_spec_boolean ("left-gravity",